import NetWorkTool from "./netWorkTool.js"

/**
 * banners:[
	 {
	 		"createTime": "yyyy-MM-dd HH:mm:ss",
	 		"createUser": 0,
	 		"fileId": 0,
	 		"fileSuffix": "",
	 		"fileUrl": "",
	 		"id": 0,
	 		"content": "",
	 		"updateTime": "yyyy-MM-dd HH:mm:ss"
	 	}
 ]
 */
export function upBanner(ars) {
	return NetWorkTool.POST('/api/index-banner/upBanner', ars,true);
}

export function downBanner(ars) {
	return NetWorkTool.POST('/api/index-banner/downBanner', ars,false);
}

export function downNotice(ars) {
	return NetWorkTool.POST('/api/index-notice/downNotice', ars,true);
}

export function upNotice(ars) {
	return NetWorkTool.POST('/api/index-notice/upNotice', ars,false);
}
